import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import './style/common.css'
import App from './App.vue'
import router from './router'
import { registerComponents } from './components/IFormComponents'

const app = createApp(App)

registerComponents(app)
console.log(app)
app.use(createPinia())
app.use(ElementPlus)
app.use(router)

app.mount('#app')
